﻿using System;
using System.Collections.Generic;
using System.Text;

namespace XmlTest
{
    public class ProtoDeclare
    {
        private ProtoInterface ProtoInterface;

        public ProtoInterface protoInterface
        {
            get { return ProtoInterface; }
            set { ProtoInterface = value; }
        }

        private ProtoBody ProtoBody;

        public ProtoBody protoBody
        {
            get { return ProtoBody; }
            set { ProtoBody = value; }
        }

        public ProtoDeclare()
        {
            this.protoBody = new ProtoBody();
            this.protoInterface = new ProtoInterface();
        }
        public ProtoDeclare(ProtoBody pb, ProtoInterface pi)
        {
            this.protoBody = pb;
            this.protoInterface = pi;
        }

        private string Name;

        public string name
        {
            get { return Name; }
            set { Name = value; }
        }
        private string Appinfo;

        public string appinfo
        {
            get { return Appinfo; }
            set { Appinfo = value; }
        }
        private string Documentation;

        public string documentation
        {
            get { return Documentation; }
            set { Documentation = value; }
        }
    }
}
